package com.tianzmp.ttq.admin.entity;

/**
 * @author zhumengping
 */
public class PageInfo<T> {


    private Integer current;

    private Integer size;

    private Long total;

    private T data;

    public PageInfo(Integer current, Integer size, Long total, T data) {
        this.current = current;
        this.size = size;
        this.total = total;
        this.data = data;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
